package br.com.atenas.sigop.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory {
	
	public static Connection getConnection() throws ClassNotFoundException, SQLException{
		Class.forName("oracle.jdbc.OracleDriver");
		String urlConexao = "jdbc:oracle:thin:@127.0.0.1:1521/XE";
		String usuario = "sigop";
		String senha = "sigop123";
		Connection conn = DriverManager.getConnection(urlConexao,usuario,senha);
		return conn;
	}
}